<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE>
<html>
<head>
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/layout.css" />
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/module_public.css" />
  <script type="text/javascript" src="__PUBLIC__/Js/jquery.js"></script>
  <script type="text/javascript" src="__PUBLIC__/Js/My97DatePicker/WdatePicker.js"></script>
  <script type="text/javascript" src="__PUBLIC__/Js/system.js"></script>
</head>
<body>
  <div class="module_public">
     <div class="module_public_content">
        <h1> >> OA-公司相册管理 <a href="__ACTION__">【刷新】</a></h1>
     </div>
     <div class="module_public_main"> 
        <table>
           <tr>
             <td align="center">编号</td>
             <td align="center">相片标题</td>
             <td align="center">缩略图</td>
             <td align="center">操作</td>
           </tr>
           <?php if(is_array($p_info)): $k = 0; $__LIST__ = $p_info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($k % 2 );++$k;?><tr>
             <td align="center"><?php echo ($v["p_id"]); ?></td>
             <?php if($v["p_title"] == ''): ?><td align="center"><font color=red>无标题</font></td>
             <?php else: ?>
             <td align="center"><?php echo ($v["p_title"]); ?></td><?php endif; ?>
             <td align="center"><img src="__PUBLIC__/Photos/<?php echo ($v["p_thumbs"]); ?>"  style="border:1px solid #ccc;"/></td>
             <td align="center">
               <a href="__URL__/OA_update_photo/p_id/<?php echo ($v["p_id"]); ?>">更新相片</a>
               
             </td>
           </tr><?php endforeach; endif; else: echo "" ;endif; ?>
           <tr>
             <td colspan="4" align="right"><?php echo ($fpage); ?></td>
           </tr>
        </table> 
     </div>
  </div>
</body>
</html>